package com.tianxin.workbao.workBao.bean;

import androidx.annotation.IntDef;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/6/22.
 */
@Entity
public class LineUp implements Serializable {
    private static final long serialVersionUID = 6889646131154285214L;
    @Id(autoincrement = true)
    private Long id;
    @Property
    private String number;
    @Property
    private Integer type;
    @Property
    private String billnumber;
    @Property
    private String salecompany;
    @Property
    private Integer salecompanyid;
    @Property
    private String buycompany;
    @Property
    private Integer buycompanyid;
    @Property
    private String coaltype;
    @Property
    private Integer coaltypeid;
    @Property
    private Integer carnumberid;
    @Property
    private String carnumber;
    @Property
    private String carowner;
    @Property
    private String carconnectphone;
    @Property
    private Float money;
    @Property
    private String tags;
    @Property
    private String carowneridnum;
    @Property
    private Integer lineupuserid;
    @Property
    private String lineupusername;
    @Property
    private Integer contractid;
    @Property
    private String contractnum;
    @Property
    private Date addtime;
    @Property
    private Integer updateuserid;
    @Property
    private String updateusername;
    @Property
    private Date lastupdatetime;
    @Property
    private Integer isup;
    @Property
    private Integer status;
    @Property
    private String remark;
    @Property
    private Integer isloadcar;
    @Property
    private Integer loadcarid;
    @Property
    private String loadcarname;
    @Property
    private Integer loaduserid;
    @Property
    private String loadusername;
    @Property
    private Date loadtime;

    @Generated(hash = 1997118989)
    public LineUp(Long id, String number, Integer type, String billnumber,
            String salecompany, Integer salecompanyid, String buycompany,
            Integer buycompanyid, String coaltype, Integer coaltypeid, Integer carnumberid,
            String carnumber, String carowner, String carconnectphone, Float money,
            String tags, String carowneridnum, Integer lineupuserid, String lineupusername,
            Integer contractid, String contractnum, Date addtime, Integer updateuserid,
            String updateusername, Date lastupdatetime, Integer isup, Integer status,
            String remark, Integer isloadcar, Integer loadcarid, String loadcarname,
            Integer loaduserid, String loadusername, Date loadtime) {
        this.id = id;
        this.number = number;
        this.type = type;
        this.billnumber = billnumber;
        this.salecompany = salecompany;
        this.salecompanyid = salecompanyid;
        this.buycompany = buycompany;
        this.buycompanyid = buycompanyid;
        this.coaltype = coaltype;
        this.coaltypeid = coaltypeid;
        this.carnumberid = carnumberid;
        this.carnumber = carnumber;
        this.carowner = carowner;
        this.carconnectphone = carconnectphone;
        this.money = money;
        this.tags = tags;
        this.carowneridnum = carowneridnum;
        this.lineupuserid = lineupuserid;
        this.lineupusername = lineupusername;
        this.contractid = contractid;
        this.contractnum = contractnum;
        this.addtime = addtime;
        this.updateuserid = updateuserid;
        this.updateusername = updateusername;
        this.lastupdatetime = lastupdatetime;
        this.isup = isup;
        this.status = status;
        this.remark = remark;
        this.isloadcar = isloadcar;
        this.loadcarid = loadcarid;
        this.loadcarname = loadcarname;
        this.loaduserid = loaduserid;
        this.loadusername = loadusername;
        this.loadtime = loadtime;
    }

    @Generated(hash = 982239658)
    public LineUp() {
    }

    public Long getId() {
        return id;
    }

    public LineUp setId(Long id) {
        this.id = id;
        return this;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getBillnumber() {
        return billnumber;
    }

    public void setBillnumber(String billnumber) {
        this.billnumber = billnumber == null ? null : billnumber.trim();
    }

    public String getSalecompany() {
        return salecompany;
    }

    public void setSalecompany(String salecompany) {
        this.salecompany = salecompany == null ? null : salecompany.trim();
    }

    public Integer getSalecompanyid() {
        return salecompanyid;
    }

    public void setSalecompanyid(Integer salecompanyid) {
        this.salecompanyid = salecompanyid;
    }

    public String getBuycompany() {
        return buycompany;
    }

    public void setBuycompany(String buycompany) {
        this.buycompany = buycompany == null ? null : buycompany.trim();
    }

    public Integer getBuycompanyid() {
        return buycompanyid;
    }

    public void setBuycompanyid(Integer buycompanyid) {
        this.buycompanyid = buycompanyid;
    }

    public String getCoaltype() {
        return coaltype;
    }

    public void setCoaltype(String coaltype) {
        this.coaltype = coaltype == null ? null : coaltype.trim();
    }

    public Integer getCoaltypeid() {
        return coaltypeid;
    }

    public void setCoaltypeid(Integer coaltypeid) {
        this.coaltypeid = coaltypeid;
    }

    public Integer getCarnumberid() {
        return carnumberid;
    }

    public void setCarnumberid(Integer carnumberid) {
        this.carnumberid = carnumberid;
    }

    public String getCarnumber() {
        return carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber == null ? null : carnumber.trim();
    }

    public String getCarowner() {
        return carowner;
    }

    public void setCarowner(String carowner) {
        this.carowner = carowner == null ? null : carowner.trim();
    }

    public String getCarconnectphone() {
        return carconnectphone;
    }

    public void setCarconnectphone(String carconnectphone) {
        this.carconnectphone = carconnectphone == null ? null : carconnectphone.trim();
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public String getCarowneridnum() {
        return carowneridnum;
    }

    public void setCarowneridnum(String carowneridnum) {
        this.carowneridnum = carowneridnum == null ? null : carowneridnum.trim();
    }

    public Integer getLineupuserid() {
        return lineupuserid;
    }

    public void setLineupuserid(Integer lineupuserid) {
        this.lineupuserid = lineupuserid;
    }

    public String getLineupusername() {
        return lineupusername;
    }

    public void setLineupusername(String lineupusername) {
        this.lineupusername = lineupusername == null ? null : lineupusername.trim();
    }

    public Integer getContractid() {
        return contractid;
    }

    public void setContractid(Integer contractid) {
        this.contractid = contractid;
    }

    public String getContractnum() {
        return contractnum;
    }

    public void setContractnum(String contractnum) {
        this.contractnum = contractnum == null ? null : contractnum.trim();
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Integer getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(Integer updateuserid) {
        this.updateuserid = updateuserid;
    }

    public String getUpdateusername() {
        return updateusername;
    }

    public void setUpdateusername(String updateusername) {
        this.updateusername = updateusername == null ? null : updateusername.trim();
    }

    public Date getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public Integer getIsup() {
        return isup;
    }

    public void setIsup(Integer isup) {
        this.isup = isup;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getIsloadcar() {
        return isloadcar;
    }

    public LineUp setIsloadcar(Integer isloadcar) {
        this.isloadcar = isloadcar;
        return this;
    }

    public Integer getLoadcarid() {
        return loadcarid;
    }

    public LineUp setLoadcarid(Integer loadcarid) {
        this.loadcarid = loadcarid;
        return this;
    }

    public String getLoadcarname() {
        return loadcarname;
    }

    public LineUp setLoadcarname(String loadcarname) {
        this.loadcarname = loadcarname;
        return this;
    }

    public Integer getLoaduserid() {
        return loaduserid;
    }

    public LineUp setLoaduserid(Integer loaduserid) {
        this.loaduserid = loaduserid;
        return this;
    }

    public String getLoadusername() {
        return loadusername;
    }

    public LineUp setLoadusername(String loadusername) {
        this.loadusername = loadusername;
        return this;
    }

    public Date getLoadtime() {
        return loadtime;
    }

    public LineUp setLoadtime(Date loadtime) {
        this.loadtime = loadtime;
        return this;
    }
}